home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
comm
/
bkmail11.zip
/
MODEMS.TXT
< prev
next >
Wrap
Text File
|
1989-03-05
|
20KB
|
413 lines
B-1
APPENDIX B: Customizing BackMail for your Modem
The default values in Backmail should enable it to operate with any
truly Hayes Compatible 1200 or 2400 baud modem. Apart from insuring
that your DIP switches are set correctly, we recommend that you use
BackMail for a bit before undertaking any customization. The default
values the program uses have been chosen with great care and work
with a wide variety of modems.
However, should you encounter problems or if your modem is non-
standard, don't despair. We have designed BackMail to allow you to
alter virtually all of the parameters that control the modems
operations. So even if you have a modem that does not conform to
industry standards it should be possible to configure the program to
drive your modem.
DIP SWITCHES
Your Modem may or may not have DIP switches which may control some
or all of these functions.
+------------------------++-------------------------------------+
| SWITCH || SETTING |
+------------------------++-------------------------------------+
| Carrier Detect ||Should be set so that Carrier is NOT |
| ||always on. |
| || |
| Data Terminal Ready ||Should be set so that DTR is NOT |
| ||always on; i.e. is controlled by the |
| ||computer. |
| || |
| Verbose ||Should be set so that modem produces |
| ||numeric responses |
| || |
| Echo ||Should be set so the modem does NOT |
| ||echo commands |
| || |
| Auto Answer ||Should be off so modem does not |
| ||automatically answer the phone |
+------------------------++-------------------------------------+
It is most important that you have Carrier and DTR detect enabled.
If your modem does not have DIP switches for these functions then
they will be set by command strings. Check the Setting for Tech 3 to
make sure that it is the appropriate string to enable carrier and
DTR. Setting of Tech settings is described below.
B-2
MODEM RESPONSE CODES
Your modem responds to commands by sending "response codes" to your
computer. BackMail sets your modem to respond with numeric
responses. These are numbers (usually between 0-10, though we have
provided up to 20) that tell the program about the state of your
modem. Responses 1-4 are standard but, above 4, modems can mean
different things by these numbers. To bring BackMail fully en
rapport with your modem you should tell the program what these
response codes mean to your modem. You do this by altering TECH
SETTINGS under the CHANGE SETUP menu.
You change TECH SETTINGS by entering the number of the tech setting
you want to change and entering an appropriate string or number.
For modem response codes you will be entering numbers. Tech Settings
50-60 correspond to modem responses from 0-20. Each Tech Setting in
this range has associated with it a number which indicates its
meaning to BackMail.
These numbers indicate the interpretation that BackMail will place
upon the corresponding modem responses and dictate what action
BackMail will take.
Here are the BackMail Numbers and their meaning:
+---------+------------------------------------------------+
| Setting | Interpretation |
+---------|------------------------------------------------+
| 0 | 'OK': Modem has accepted a command |
| 1 | Modem has detected a Carrier at 300 Baud |
| 2 | Modem has detected a Carrier at 1200 Baud |
| 3 | Modem has detected a Carrier at 2400 Baud |
| 4 | Modem has detected your phone is ringing |
| 5 | Modem has lost or failed to detect a carrier |
| 6 | Modem has detected a Busy signal |
| 7 | Modem detects ring at the called number |
| 8 | Modem has failed to detect a dial tone |
| 9 | This response code is undefined for this modem|
| 10 | Modem has found an error in some command |
+---------+------------------------------------------------+
B-3
Here are the default settings which backmail uses to interpret Modem
responses 0-20.
+--------+-----------+------------------+
| Tech | Modem | Default BackMail |
| Number | Response | Setting |
+--------+-----------+------------------+
| 50 | 0 | 0 |
| 51 | 1 | 1 |
| 52 | 2 | 4 |
| 53 | 3 | 5 |
| 54 | 4 | 10 |
| 55 | 5 | 2 |
| 56 | 6 | 5 |
| 57 | 7 | 5 |
| 58 | 8 | 9 |
| 59 | 9 | 9 |
| 60 | 10 | 3 |
| 61 | 11 | 9 |
| 62 | 12 | 9 |
| 63 | 13 | 9 |
| 64 | 14 | 9 |
| 65 | 15 | 9 |
| 66 | 16 | 9 |
| 67 | 17 | 9 |
| 68 | 18 | 9 |
| 69 | 19 | 9 |
| 70 | 20 | 9 |
+--------+-----------+------------------+
As you will see, by default, all of the modem responses from 6-20
have a default BackMail setting of '9' which means that BackMail
will do nothing if it receives these responses. If these extended
codes do mean something to your modem then you will want to fill
BackMail in by setting the appropriate interpretation beside the
tech setting that corresponds to that tech setting.
For example: Suppose that your modem manual tells you that your
modem issues response code "6" when it receives no dial tone and "7"
when it detects a busy signal. In that case you should alter Tech
settings "56" and "67" to the Backmail settings for these responses.
+-------------------+-------------------+------------+
| Modem Response | Tech Setting | BackMail |
+-------------------|-------------------|------------+
| 6 | 56 | 8 |
| 7 | 57 | 6 |
+-------------------+-------------------+------------+
Sorry if all this sounds complicated. Indeed we aren't out of the
woods yet for now we have to talk about "X" settings...
B-4
X SETTINGS: CONTROLLING EXTENDED RESPONSES
The meaning of modem response codes above "5" are not wholly
standardized and any modem that uses th